import request from '@/utils/request'

// 查询记录列表
export function listRecordCount(query) {
  return request({
    url: '/cms/record/count',
    method: 'get',
    params: query
  })
}

// 查询浏览记录
export function listLookRecord(query) {
  return request({
    url: '/cms/record/look',
    method: 'get',
    params: query
  })
}

// 查询点赞记录
export function listLikeRecord(query) {
  return request({
    url: '/cms/record/like',
    method: 'get',
    params: query
  })
}

// 查询踩记录
export function listNastyRecord(query) {
  return request({
    url: '/cms/record/nasty',
    method: 'get',
    params: query
  })
}

// 查询收藏记录
export function listCollectRecord(query) {
  return request({
    url: '/cms/record/collect',
    method: 'get',
    params: query
  })
}

// 查询分享记录
export function listShareRecord(query) {
  return request({
    url: '/cms/record/share',
    method: 'get',
    params: query
  })
}

// 查询评分记录
export function listScoreRecord(query) {
  return request({
    url: '/cms/record/score',
    method: 'get',
    params: query
  })
}